Skip to content

Develop#1

Merged
ptr727 merged 7 commits into
mainfrom
develop
Jun 14, 2025
Merged

Develop#1
ptr727 merged 7 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jun 14, 2025

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 14, 2025 14:28

This comment was marked as outdated.

@ptr727 ptr727 requested a review from Copilot June 14, 2025 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a complete language tag processing solution including a library with support for ISO 639‑2, ISO 639‑3, and RFC 5646 language tags, a code generation utility, and test fixtures. It also adds supplementary projects and CI/CD workflow configurations to automate build, format, and release tasks.

  • Added test fixture for language data file resolution.
  • Implemented language tag parsing, code generation, and lookup methods.
  • Configured project files, build tasks, and GitHub workflows for data updates, releases, and merge automation.

Reviewed Changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
LanguageTagsTests/Fixture.cs New test fixture with a relative data file path helper.
LanguageTagsTests/.editorconfig Editor configuration for test projects.
LanguageTagsCreate/Program.cs Main utility for downloading language data and code generation.
LanguageTagsCreate/LanguageTagsCreate.csproj Project file for the code generation utility.
LanguageTags/Rfc5646.cs Library implementation with parsing, JSON conversion, and code generation.
LanguageTags/LanguageTags.csproj Project file for the main library.
LanguageTags/LanguageLookup.cs Implementation for language tag lookup and conversion.
LanguageTags/JsonOptions.cs JSON serializer options configuration.
LanguageTags/Iso6393.cs ISO 639‑3 data parsing and code generation implementation.
LanguageTags/Iso6392.cs ISO 639‑2 data parsing and code generation implementation.
LanguageTags.sln Solution file including all projects and configuration.
LanguageTags.code-workspace Workspace configuration for coding standards.
.vscode/tasks.json Build and format task definitions.
.vscode/launch.json Debug launch configuration for LanguageTagsCreate.
.github/workflows/update-languagedata.yml Workflow to update language data and generate code.
.github/workflows/publish-release.yml CI workflow for building, testing, and publishing releases.
.github/workflows/merge-bot-pr.yml Workflow to auto‑merge bot generated PRs.
.github/dependabot.yml Dependabot configuration for NuGet and GitHub Actions.
.gitattributes Attributes configuration for consistent line endings.
.editorconfig Root editorconfig enforcing coding styles and formatting.
Comments suppressed due to low confidence (1)

LanguageTags/Rfc5646.cs:240

  • Instead of throwing a NotImplementedException for unknown attribute keys, consider logging the unexpected attribute or handling it gracefully to improve robustness in production.
default: throw new NotImplementedException();

Comment thread LanguageTagsTests/Fixture.cs
@ptr727 ptr727 merged commit 127eab4 into main Jun 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants